export const mockTraffic = {
  traffic_statistics: [
    ["BPS", 608],
    ["PPS", 1],
    ["TCP_sessions", 0],
    ["Peak", "0:0:0:0:0:0:0:0:0"],
    ["包长平均估值（总：T:U:I）Bytes", "76:0:112:0"],
  ],
  TCP_protocol_distribution_BPS: {
    "http(80)": 1480,
  },
  UDP_protocol_distribution_BPS: {},
  ICMP_BPS: {},
};

export const mergeTraffic = [
  {
    traffic: ["BPS", 608],
    TCP_protocol_distribution_BPS: `http(80) : 1480`,
    UDP_protocol_distribution_BPS: "",
    ICMP_BPS: "",
  },
  {
    traffic: ["PPS", 1],
    TCP_protocol_distribution_BPS: "",
    UDP_protocol_distribution_BPS: "",
    ICMP_BPS: "",
  },
  {
    traffic: ["TCP_sessions", 0],
    TCP_protocol_distribution_BPS: "",
    UDP_protocol_distribution_BPS: "",
    ICMP_BPS: "",
  },
  {
    traffic: ["Peak", "0:0:0:0:0:0:0:0:0"],
    TCP_protocol_distribution_BPS: "",
    UDP_protocol_distribution_BPS: "",
    ICMP_BPS: "",
  },
  {
    traffic: ["包长平均估值（总：T:U:I）Bytes", "76:0:112:0"],
    TCP_protocol_distribution_BPS: "",
    UDP_protocol_distribution_BPS: "",
    ICMP_BPS: "",
  },
];

export const mockEvent = [
  {
    time: "2007-11-18 18:59:10",
    action: "2",
    source: "10.10.14.211:1237",
    destination: "207.46.211.119:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
  {
    time: "2007-11-18 18:59:10",
    action: "2",
    source: "10.10.14.211:1237",
    destination: "207.46.211.119:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
  {
    time: "2007-11-18 18:59:02",
    action: "2",
    source: "10.10.14.211:1236",
    destination: "207.46.211.119:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
  {
    time: "2007-11-18 18:59:02",
    action: "2",
    source: "10.10.14.211:1236",
    destination: "207.46.211.119:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
  {
    time: "2007-11-18 18:58:55",
    action: "2",
    source: "10.10.14.211:1235",
    destination: "207.46.211.119:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
  {
    time: "2007-11-18 18:58:55",
    action: "2",
    source: "10.10.14.211:1234",
    destination: "207.46.211.119:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
  {
    time: "2007-11-18 16:57:50",
    action: "2",
    source: "10.10.14.211:1234",
    destination: "64.4.23.190:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
  {
    time: "2007-11-18 16:57:50",
    action: "2",
    source: "10.10.14.211:1235",
    destination: "64.4.23.190:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
  {
    time: "2007-11-18 16:56:45",
    action: "2",
    source: "10.10.14.211:1234",
    destination: "64.4.23.190:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
  {
    time: "2007-11-18 16:56:45",
    action: "2",
    source: "10.10.14.211:1234",
    destination: "64.4.23.190:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
  {
    time: "2007-11-18 16:56:45",
    action: "2",
    source: "10.10.14.211:1234",
    destination: "64.4.23.190:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
  {
    time: "2007-11-18 16:56:45",
    action: "2",
    source: "10.10.14.211:1233",
    destination: "64.4.23.190:80",
    eventSummary: "Event=Web access Host=w...",
    event: "[2]WEB访问",
  },
];
